package tests;

import bookworm.BookHistoryData;

public class TestHowLongToReadBook 
{
	public static void main(String args[])
	{
		BookHistoryData bookHistory = new BookHistoryData();
		bookHistory.setStartDate("2008-03-01");
		bookHistory.setEndDate("2008-03-29");
		long daysToFinishBook = bookHistory.calculateDaysToFinishABook();
		
		System.out.println("the book was started in 2008-03-01");
		System.out.println("the book was finished in 2008-03-29");
		System.out.println("then it took " + daysToFinishBook + " days to finish this book");
	}

}
